<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const map1 = new Map();

      map1.set("a", 1);
      map1.set("b", 2);
      map1.set("c", 3);

      console.log(map1.get("a"));
      // Expected output: 1

      map1.set("a", 97);

      console.log(map1.get("a"));
      // Expected output: 97

      console.log(map1.size);
      // Expected output: 3

      map1.delete("b");

      console.log(map1.size);
      const myMap = new Map([
        [1, "one"],
        [2, "two"],
        [3, "three"],
      ]);
      console.log(myMap);
    </script>
  </body>
</html>
